//---------------------------------------------------------------------------

#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "OleListView.hpp"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------

struct FileInfo {
	UnicodeString name;
	int prog;
	float rate;
};

class TForm3 : public TForm
{
__published:	// IDE-managed Components
	TOleListView *OleListView1;
	TButton *Button1;
	TImageList *ImageList1;
	TButton *Button2;
	TTimer *Timer1;
	void __fastcall Button1Click(TObject *Sender);
	void __fastcall OleListView1CustomDrawItem(TCustomListView *Sender, TListItem *Item,
          TCustomDrawState State, bool &DefaultDraw);
	void __fastcall Timer1Timer(TObject *Sender);
private:	// User declarations
	int fProg;
	TList* fList;
    int fCount;
public:		// User declarations
	__fastcall TForm3(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm3 *Form3;
//---------------------------------------------------------------------------
#endif
